package com.zyd.service.user;

import com.zyd.io.model.UserEntity;
import com.zyd.io.page.PageBean;
import com.zyd.io.vo.page.MultiQueryPageVO;
import com.zyd.io.vo.user.LoginRequestVO;
import com.zyd.io.vo.user.ModifyPasswdVO;

import javax.servlet.http.HttpSession;
import java.util.Map;

public interface UserService {

    public UserEntity findUser(String id);

    public PageBean<UserEntity> findUserList(MultiQueryPageVO request);

    public void updateUser(UserEntity user);

    public void deleteUser(String id);

    public void insertUser(UserEntity user);

    public void motifyPasswd(ModifyPasswdVO modifyPasswdVO);

    public Map<String, Object> login(LoginRequestVO requestVO, HttpSession session);
	
	public String findValidatecode(String username) ;
	
	public void setValidatecode(String username,String code);
	
	public String findMobilebyusername(String username) ;

    void resetPassword(String id);
}
